<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>字符串模板</title>
</head>
<body>
    <script>
       let str ="ww"+
               "ddf"+
               "fg"
        console.log(str);//不换行


        let str2=`e
        e
        w
        r
        r
        r
        w
        n
        r
        rr
        rr
        t`
        console.log(str2)//会换行
    </script>
</body>
</html>